<?php if (!defined('THINK_PATH')) exit(); /*a:1:{s:65:"E:\wamp\www\tp5\public/../application/index\view\stu\parents.html";i:1554954206;}*/ ?>
<!DOCTYPE html>
<html>
<head>
	<title>家长信息确认</title>
	<meta charset="utf-8">
	<link rel="stylesheet" type="text/css" href="/tp5/public/static/bootstrap-3.3.7/css/bootstrap.min.css" />
	<script type="text/javascript" src="__js__/jquery.3.3.1.min.js"></script>
</head>
<body>
	<!-- <p>学号：<?php echo $info['stuno']; ?></p>
	<p>身份证号：<?php echo $info['idnum']; ?></p>
	<p>姓名：<?php echo $info['truename']; ?></p> -->
	<table class="table">
  <caption>家长信息表</caption>
  <form action="<?php echo url('parentswrite'); ?>" method="post">
  <tbody>
    <tr class="active">
	      <td><label for="relation1">家长1关系</label></td>
	      <td>
			<select name="relation1" id="relation1">
				<option value="" <?php if($info['relation1'] == ''): ?> selected="selected"<?php endif; ?>>--请选择与本人关系--</option>
				<option value="1" <?php if($info['relation1'] == '1'): ?> selected="selected"<?php endif; ?>>父亲</option>
				<option value="2" <?php if($info['relation1'] == '2'): ?> selected="selected"<?php endif; ?>>母亲</option>
				<option value="3" <?php if($info['relation1'] == '3'): ?> selected="selected"<?php endif; ?>>其他监护人</option>
			</select>
	      </<td></td>
      </tr>
    <tr class="success">
	      <td><lable for="pname1">家长1姓名</lable></td>
	      <td><input name="pname1" id="pname1" value="<?php echo $info['pname1']; ?>"></td>
      </tr>
    <tr class="success">
	      <td><lable for="pidnum1">家长1身份证号码</lable></td>
	      <td><input name="pidnum1" id="pidnum1" value="<?php echo $info['pidnum1']; ?>"></td>
      </tr>
   	<tr class="active">
	      <td><label for="relation2">家长2关系</label></td>
	      <td>
			<select name="relation2" id="relation2">
				<option value="" <?php if($info['relation2'] == ''): ?> selected="selected"<?php endif; ?>>--请选择与本人关系--</option>
				<option value="1" <?php if($info['relation2'] == '1'): ?> selected="selected"<?php endif; ?>>父亲</option>
				<option value="2" <?php if($info['relation2'] == '2'): ?> selected="selected"<?php endif; ?>>母亲</option>
				<option value="3" <?php if($info['relation2'] == '3'): ?> selected="selected"<?php endif; ?>>其他监护人</option>
			</select>
	      </<td></td>
      </tr>
    <tr class="info">
	      <td><lable for="pname2">家长2姓名</lable></td>
	      <td><input name="pname2" id="pname2" value="<?php echo $info['pname2']; ?>"></td>
      </tr>
     <tr class="success">
	      <td><lable for="pidnum2">家长2身份证号码</lable></td>
	      <td><input name="pidnum2" id="pidnum2" value="<?php echo $info['pidnum2']; ?>"></td>
      </tr>
      <button type="submit" class="btn btn-success form-control input-lg">提交</button>
  </tbody>

  </form>
</table>	
	
</body>
</html>